package com.mxpio.erp.common.technology.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.mxpioframework.security.entity.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_TECHNOLOGY_PROCEDURE")
@Schema(description="工序")
public class Procedure extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "PROCEDURE_CODE_", updatable = false)
	@Schema(description = "工序编号")
	private String procedureCode;
	
	@Column(name = "PROCEDURE_NAME_")
	@Schema(description = "工序名称")
	private String procedureName;

}
